package cate.common.table.activity.rankactivity.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;

public class RankActivityRewardRow extends ERow {
    public int begin;

    public int end;

    public String rewardStr;

    public int group;

    public String extraRewardStr;

    public int extraValue;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("ID");
        this.begin = xrw.getInteger("排名起始");
        this.end = xrw.getInteger("排名结束");
        this.rewardStr = xrw.getString("奖励");
        this.group = xrw.getInteger("活动分组");
        this.extraRewardStr = xrw.getString("特殊奖励");
        this.extraValue = xrw.getInteger("解锁条件",0);
    }
}
